The _cccc_ssss_aaaa_cccc_kkkk_pppp_aaaa_cccc_cccc_tttt script checks the size of the CSA process accounting file
_////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_aaaa_cccc_cccc_tttt_////_dddd_aaaa_yyyy_////_pppp_aaaa_cccc_cccc_tttt and checks the amount of free space on the
filesystem containing the _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_aaaa_cccc_cccc_tttt directory. If the size of the
_pppp_aaaa_cccc_cccc_tttt file exceeds 4000 blocks (default) or exceeds the specified number
of _bbbb_llll_oooo_cccc_kkkk_ssss, _cccc_ssss_aaaa_cccc_kkkk_pppp_aaaa_cccc_cccc_tttt starts a new accounting file by invoking the
_cccc_ssss_aaaa_ssss_wwww_iiii_tttt_cccc_hhhh(1M) command. When accounting is enabled, the _cccc_ssss_aaaa_ssss_wwww_iiii_tttt_cccc_hhhh command
is called with the _----_cccc _oooo_nnnn option by default. You can modify the behavior
of the _cccc_ssss_aaaa_ssss_wwww_iiii_tttt_cccc_hhhh command to enable additional daemon or continuation
record types and set threshold values by setting the applicable values in
the _////_eeee_tttt_cccc_////_cccc_ssss_aaaa_...._cccc_oooo_nnnn_ffff file. For additional information, see the
_cccc_ssss_aaaa_ssss_wwww_iiii_tttt_cccc_hhhh(1M) man page.
_AAAA_CCCC_CCCC_TTTT______FFFF_SSSS is a parameter which defines the filesystem on which
_////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_aaaa_cccc_cccc_tttt resides and is defined in the accounting configuration file
_////_eeee_tttt_cccc_////_cccc_ssss_aaaa_...._cccc_oooo_nnnn_ffff. The _MMMM_IIII_NNNN______BBBB_LLLL_KKKK_SSSS parameter also is defined there.
_cccc_ssss_aaaa_cccc_kkkk_pppp_aaaa_cccc_cccc_tttt also ensures that the _AAAA_CCCC_CCCC_TTTT______FFFF_SSSS filesystem contains at least
_MMMM_IIII_NNNN______BBBB_LLLL_KKKK_SSSS free blocks. If there is not this much free space, _cccc_ssss_aaaa_cccc_kkkk_pppp_aaaa_cccc_cccc_tttt
turns off CSA accounting by invoking _cccc_ssss_aaaa_ssss_wwww_iiii_tttt_cccc_hhhh(1M) with the _hhhh_aaaa_llll_tttt operand.
_cccc_ssss_aaaa_cccc_kkkk_pppp_aaaa_cccc_cccc_tttt calls _cccc_ssss_aaaa_ssss_wwww_iiii_tttt_cccc_hhhh(1M) with the _oooo_nnnn operand to re-enable process
accounting when at least _MMMM_IIII_NNNN______BBBB_LLLL_KKKK_SSSS free blocks are available.
This feature is sensitive to the frequency at which _cccc_ssss_aaaa_cccc_kkkk_pppp_aaaa_cccc_cccc_tttt is
executed. You should run _cccc_ssss_aaaa_cccc_kkkk_pppp_aaaa_cccc_cccc_tttt periodically using the _cccc_rrrr_oooo_nnnn(1M)
command.
The _cccc_ssss_aaaa_cccc_kkkk_pppp_aaaa_cccc_cccc_tttt script accepts the following operand:
_b_l_o_c_k_s Specifies the maximum size (in blocks) to which the CSA process
accounting file can grow before it is switched. The default is
4000 blocks.
In the released template of the accounting configuration file,
_////_eeee_tttt_cccc_////_cccc_ssss_aaaa_...._cccc_oooo_nnnn_ffff, _AAAA_CCCC_CCCC_TTTT______FFFF_SSSS is set to _////_uuuu_ssss_rrrr. If this is not correct for your
system, you must define _AAAA_CCCC_CCCC_TTTT______FFFF_SSSS properly in _////_eeee_tttt_cccc_////_cccc_ssss_aaaa_...._cccc_oooo_nnnn_ffff.
EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
The following example is a suggested entry for the
_////_uuuu_ssss_rrrr_////_ssss_pppp_oooo_oooo_llll_////_cccc_rrrr_oooo_nnnn_////_cccc_rrrr_oooo_nnnn_tttt_aaaa_bbbb_ssss_////_rrrr_oooo_oooo_tttt file so that _cccc_rrrr_oooo_nnnn(1M) automatically runs
_cccc_ssss_aaaa_cccc_kkkk_pppp_aaaa_cccc_cccc_tttt on the hour:
5 * * * 1-6 if /etc/chkconfig csaacct; then /usr/lib/acct/csackpacct; fi